/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package alarmlistener;

import java.util.TimerTask;

/**
 *
 * @author rbs
 */
public class ResetTimer extends TimerTask {

    private ListeningServerThread Server;

    public ResetTimer(ListeningServerThread thread) {
        this.Server = thread;
    }

    public void run() {
        Server.analyseAndShow();
        System.out.println("Timer executed;)");
    }

}
